package com.last1mile.model;

import org.directwebremoting.annotations.DataTransferObject;
import org.directwebremoting.annotations.RemoteProperty;
import org.directwebremoting.convert.BeanConverter;

@DataTransferObject(converter = BeanConverter.class)
public class District {

    @RemoteProperty
    private String districtId;
    @RemoteProperty
    private String districtCnName;

    public District(String districtId, String districtCnName) {
        super();
        this.districtId = districtId;
        this.districtCnName = districtCnName;
    }

    @RemoteProperty
    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    @RemoteProperty
    public String getDistrictCnName() {
        return districtCnName;
    }

    public void setDistrictCnName(String districtCnName) {
        this.districtCnName = districtCnName;
    }

}
